/*
 * D-Bus Java Viewer Copyright (c) 2006 Peter Cox This program is free software;
 * you can redistribute it and/or modify it under the terms of either the GNU
 * Lesser General Public License Version 2 or the Academic Free Licence Version
 * 2.1. Full licence texts are included in the COPYING file with this program.
 */
package org.freedesktop.dbus.viewer;

import org.freedesktop.DBus.Introspectable;
import org.freedesktop.dbus.UInt32;

/**
 * A summary class for a dbus entry for use in a table model
 * 
 * @author pete
 * @since 10/02/2006
 */
public class DBusEntry {
  private Introspectable introspectable;

  private String         name;

  private String         owner;

  private String         path;

  private UInt32         user;

  /**
   * Retrieve the introspectable
   * 
   * @return The introspectable.
   */
  public Introspectable getIntrospectable() {
    return introspectable;
  }

  /**
   * Retrieve the name
   * 
   * @return The name.
   */
  public String getName() {
    return name;
  }

  /**
   * Retrieve the owner
   * 
   * @return The owner.
   */
  public String getOwner() {
    return owner;
  }

  /**
   * retrieve the path parameter
   * 
   * @return
   */
  public String getPath() {
    return path;
  }

  /**
   * Retrieve the user
   * 
   * @return The user.
   */
  public UInt32 getUser() {
    return user;
  }

  /**
   * Assign the introspectable
   * 
   * @param introspectable
   *          The introspectable.
   */
  public void setIntrospectable(Introspectable introspectable) {
    this.introspectable = introspectable;
  }

  /**
   * Assign the name
   * 
   * @param name
   *          The name.
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * Assign the owner
   * 
   * @param owner
   *          The owner.
   */
  public void setOwner(String owner) {
    this.owner = owner;
  }

  /**
   * set the path parameter
   * 
   * @param path
   */
  public void setPath(String path) {
    this.path = path;
  }

  /**
   * Assign the user
   * 
   * @param user
   *          The user.
   */
  public void setUser(UInt32 user) {
    this.user = user;
  }

}
